//
//  HDImagesZoomView.h
//  HDecoration
//
//  Created by koki on 15-4-25.
//  Copyright (c) 2015年 HDecoration. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, MSImageViewType) {
    MSImageViewTypeComment = 1,         //评论图片
};

@interface HDImagesZoomView : UIView<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic, retain)NSArray *dataArray;
@property (nonatomic, retain)NSArray *markArray;
@property (nonatomic,assign)NSInteger index;
@property (nonatomic,assign)MSImageViewType imageViewType;
@property (nonatomic,assign)NSInteger imageIndex;
@property (nonatomic,assign)BOOL isRotate;
- (id)initWithFrame:(CGRect)frame;
- (void)_initView;
@end

@class ZoomImgView;
@interface ZoomImgItem : UITableViewCell
@property (nonatomic, strong)ZoomImgView *zoomImgView;
@property (nonatomic, copy)NSString *imgName;
@property (nonatomic, assign)CGRect rect;
@end


@interface ZoomImgView : UIView <UIScrollViewDelegate>
{
    CGFloat viewscale;
    NSString *downImgUrl;
}

@property (nonatomic, retain) UIScrollView *scrollView;
@property (nonatomic, retain) DOImageView *imageView;
@property (nonatomic, retain)UIView *containerView;
@property (nonatomic, assign)CGRect rect;

- (void)resetViewFrame:(CGRect)newFrame;
@end









